<form id="customerForm">
    <input name="id" type="hidden" th:value="${customer?.id}">
    <input name="origin" type="hidden" value="1">
    <div class="form-group row">
        <label for="name" class="col-sm-2 col-form-label">客户名称:</label>
        <div class="col-sm-10">
            <input type="text" th:value="${customer?.cusName}" name="name" class="form-control" id="name" required>
        </div>
    </div>
    <div class="form-group row">
        <label for="url" class="col-sm-2 col-form-label">客户邮箱:</label>
        <div class="col-sm-10">
            <input type="text" th:value="${customer?.cusEmail}" name="url" class="form-control"
                   id="url" required>

        </div>
    </div>
    <div class="form-group row">
        <label for="description" class="col-sm-2 col-form-label">客户联系电话:</label>
        <div class="col-sm-10">
            <input type="text" th:value="${customer?.cusPhone}" name="description" class="form-control"
                   id="description"
                   required>
        </div>
    </div>
    <div class="form-group row">
        <label for="time" class="col-sm-2 col-form-label">客户联系时间:</label>
        <div class="col-sm-10">
            <input type="text" th:value="${time}" name="img" class="form-control"
                   id="time"
                   required>
        </div>
    </div>
    <div class="form-group row">
        <label for="img" class="col-sm-2 col-form-label">客户地址:</label>
        <div class="col-sm-10">
            <input type="text" th:value="${customer?.address}" name="img" class="form-control"
                   id="img"
                   required>
        </div>
    </div>
    <div class="form-group row">
        <label for="product" class="col-sm-2 col-form-label">咨询产品:</label>
        <div class="col-sm-4" >
            <ul class="list-inline" th:each=" proname: ${products}" id="product">
                <li th:text="${proname}" >...</li>
            </ul>
        </div>
    </div>
    <div class="form-group row">
        <label for="remark" class="col-sm-2 col-form-label">客户留言:</label>
        <div class="col-sm-10 col-form-label">
            <p th:text="${customer?.cusMsg}" id="remark" class="text-muted ">...</p>
        </div>
    </div>
</form>
<style>
    label{
        text-align: right;
    }
</style>